@extends('manager._layouts.default')
 
@section('main')
 
    <h2>Create new project</h2>
 
    {{ Form::open(array('route' => 'manager.projects.store')) }}
        <div class="row">
            <div class="row col-lg-12">
                <div class="form-group col-lg-6">
                    <label for="title">Project Title</label>
                    <input type="text" id="title" name="title" value="" class="newproject form-control">
                </div>
                <div class="form-group col-lg-3">
                    <label for="slug">Slug</label>
                    <i class="fa fa-fw fa-question-circle help" data-toggle="popover" data-placement="right" data-trigger="hover" data-content="This is the friendly URL of the page" data-container="body"></i>
                    <input type="text" id="slug" name="slug" value="" class="form-control">
                </div>
            </div> 
        </div>

        <ul class="nav nav-tabs">
            <li class="active"><a href="#content" data-toggle="tab">Content</a></li>
            <li><a href="#images" data-toggle="tab">Images</a></li>
            <li><a href="#files" data-toggle="tab">Files</a></li>
        </ul>
        <div class="tab-content">
            <div class="tab-pane active" id="content">
                <label for="project-body">Body</label>
                <textarea name="body" id="project-body-editor" class="form-control"></textarea>
            </div>
            <div class="tab-pane" id="images">
                <p>Please save the project before uploading any images</p>
            </div>
            <div class="tab-pane" id="files">
                <p>Please save the project before uploading any files</p>
            </div>
        </div>

        
        <div class="row">
            <div class="col-lg-12">
                <button type="submit" class="btn btn-primary btn-large">Save</button>
                <a href="{{ URL::route('manager.projects.index') }}" class="btn btn-default btn-large">Cancel</a>
            </div>        
            
        </div>
 
    {{ Form::close() }}
 
@stop